package com.upbos.sso.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SsoUser implements Serializable {
    public static final String STATUS_NORMAL = "1";
    public static final String STATUS_LOGOFF = "2";
    public static final String STATUS_FREEZE = "3";
    private static final long serialVersionUID = -6957920501545113819L;
    /**
     * 用户Id
     */
    @JSONField(ordinal = 1)
    private String uid;
    /**
     * 用户名称
     */
    @JSONField(ordinal = 2)
    private String name;

    /**
     * 组织机构Id
     */
    @JSONField(ordinal = 4)
    private String orgId;
    /**
     * 组织机构名称
     */
    @JSONField(ordinal = 5)
    private String orgName;
    /**
     * 部门id
     */
    @JSONField(ordinal = 6)
    private String deptId;

    @JSONField(ordinal = 7)
    private String deptName;
    /**
     * 用户类型
     */
    @JSONField(ordinal = 8)
    private String type;
    /**
     * 用户类型名称
     */
    @JSONField(ordinal = 9)
    private String typeName;
    /**
     * 扩展码
     */
    @JSONField(ordinal = 10)
    private String extCode;

}
